package com.antdesignbackend.backend.news.newsusers.service;


import com.antdesignbackend.backend.news.newsusers.entity.NewsUsers;
import com.antdesignbackend.backend.news.newsusers.entity.entityVo.NewsUsersVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * 消息推送
 *
 * @author 不二
 * @email newsusers
 * @date 2020-07-27 17:18:34
 */


public interface NewsUsersService extends IService<NewsUsers>{
    List<NewsUsersVo> search(@Param(Constants.WRAPPER) QueryWrapper<NewsUsersVo> wrapper, Page<NewsUsersVo> page);
    Integer count(@Param(Constants.WRAPPER) QueryWrapper<NewsUsersVo> wrapper);
}


